package cn.com.jinhao.provider.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "tb_sys_evcu")
@Data
@ToString
@ApiModel(value = "TbSysEvcu",description = "任务流程信息表")
public class SysEvcu {
    /**
     * id
     */
    @Column(name = "id")
    @ApiModelProperty(value = "id")
    @Id
    @KeySql(sql = "select SYS_GUID() from dual", order = ORDER.BEFORE)
    private String id;
    /**
     * code 编码
     */
    @Column(name = "code")
    @ApiModelProperty(value = "code")
    private String code;
    /**
     * paid
     */
    @Column(name = "paid")
    @ApiModelProperty(value = "paid")
    private String paid;
    /**
     * 任务名称
     */
    @Column(name = "evcu")
    @ApiModelProperty(value = "任务名称")
    private String evcu;

    /**
     * 状态
     */
    @Column(name = "stat")
    @ApiModelProperty(value = "状态")
    private String stat;

    /**
     * 备注
     */
    @Column(name = "memo")
    @ApiModelProperty(value = "备注")
    private String memo;

    /**
     * 创建人ID
     */
    @Column(name = "CREATED_BY_ID")
    @ApiModelProperty(value = "创建人ID")
    private String createdById;
    /**
     * 创建人
     */
    @Column(name = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;
    /**
     * 创建时间
     */
    @Column(name = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    /**
     * 更新人ID
     */
    @Column(name = "UPDATED_BY_ID")
    @ApiModelProperty(value = "更新人ID")
    private String updatedById;
    /**
     * 更新人
     */
    @Column(name = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;
    /**
     * 更新时间
     */
    @Column(name = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;
}
